home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C11 / Microsoft.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.0 KB  |  94 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C11
  7. # using the Microsoft compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Microsoft.makefile
  11.  
  12. # Note: this requires the service Pack 3 from
  13. # www.Microsoft.com for successful compilation!
  14. CPP = cl
  15. CPPFLAGS = -GX -GR
  16. OFLAG = -o
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Reference.exe \
  25.     Pasconst.exe \
  26.     Refptr.exe \
  27.     PassStruct.exe \
  28.     HowMany.exe \
  29.     Linenum.exe \
  30.     Stopcc.exe \
  31.     Pmem.exe 
  32.  
  33. test: all 
  34.     Reference.exe  
  35.     Pasconst.exe  
  36.     Refptr.exe  
  37.     PassStruct.exe  
  38.     HowMany.exe  
  39.     Linenum.exe  
  40.     Stopcc.exe  
  41.     Pmem.exe  
  42.  
  43. bugs: \
  44.     HowMany2.exe \
  45.     Autocc.exe \
  46.     Pmem2.exe 
  47.  
  48. Reference.exe: Reference.obj 
  49.     $(CPP) $(OFLAG)Reference.exe Reference.obj 
  50.  
  51. Pasconst.exe: Pasconst.obj 
  52.     $(CPP) $(OFLAG)Pasconst.exe Pasconst.obj 
  53.  
  54. Refptr.exe: Refptr.obj 
  55.     $(CPP) $(OFLAG)Refptr.exe Refptr.obj 
  56.  
  57. PassStruct.exe: PassStruct.obj 
  58.     $(CPP) $(OFLAG)PassStruct.exe PassStruct.obj 
  59.  
  60. HowMany.exe: HowMany.obj 
  61.     $(CPP) $(OFLAG)HowMany.exe HowMany.obj 
  62.  
  63. HowMany2.exe: HowMany2.obj 
  64.     $(CPP) $(OFLAG)HowMany2.exe HowMany2.obj 
  65.  
  66. Linenum.exe: Linenum.obj 
  67.     $(CPP) $(OFLAG)Linenum.exe Linenum.obj 
  68.  
  69. Autocc.exe: Autocc.obj 
  70.     $(CPP) $(OFLAG)Autocc.exe Autocc.obj 
  71.  
  72. Stopcc.exe: Stopcc.obj 
  73.     $(CPP) $(OFLAG)Stopcc.exe Stopcc.obj 
  74.  
  75. Pmem.exe: Pmem.obj 
  76.     $(CPP) $(OFLAG)Pmem.exe Pmem.obj 
  77.  
  78. Pmem2.exe: Pmem2.obj 
  79.     $(CPP) $(OFLAG)Pmem2.exe Pmem2.obj 
  80.  
  81.  
  82. Reference.obj: Reference.cpp 
  83. Pasconst.obj: Pasconst.cpp 
  84. Refptr.obj: Refptr.cpp 
  85. PassStruct.obj: PassStruct.cpp 
  86. HowMany.obj: HowMany.cpp 
  87. HowMany2.obj: HowMany2.cpp 
  88. Linenum.obj: Linenum.cpp ..\require.h 
  89. Autocc.obj: Autocc.cpp 
  90. Stopcc.obj: Stopcc.cpp 
  91. Pmem.obj: Pmem.cpp 
  92. Pmem2.obj: Pmem2.cpp 
  93.  
  94.